package net.quanter.demo.junit5.mybatis.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.*;

/***
 *
 * 2020-06-05
 * @author harley-dog
 *
 */
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Data
@EqualsAndHashCode
public class User {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String username;
    private Integer age;

}
